package com.caiden_micheal.base.constant;

public enum ResultCode {
    SUCCESS(200, "成功"),
    FILE_NOT_FOUNT(403, "文件没有找到"),
    PRINTER_NOT_FOUNT(402, "未找到可用的打印设备"),
    UNKNOWN_Error(501, "未知错误"),
    USER_NOT_FOUNT(502, "用户不存在"),
    JWT_TOKEN_Error(503, "身份校验失败"),
    PASSWORD_Error(504, "密码错误"),
    PARAM_Error(505, "参数有误"),
    REQUEST_TIME_OUT_Error(506, "请求超时"),
    EMAIL_REPEAT_Error(506, "邮箱已被注册使用"),
    USERNAME_REPEAT_Error(507, "用户名已被注册使用"),
    USER_IS_ABNORMAL_Warn(508, "用户状态不正常"),
    EMAIL_SEND_Error(509, "邮件发送异常"),
    UnAuthorized_Error(510, "无权访问异常"),
    Repetitive_Error(511, "重复信息错误"),
    Process_Error(512, "流程错误");

    public int code;

    public String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
